# Form implementation generated from reading ui file 'src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesQueueManagementDialog.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_HgQueuesQueueManagementDialog(object):
    def setupUi(self, HgQueuesQueueManagementDialog):
        HgQueuesQueueManagementDialog.setObjectName("HgQueuesQueueManagementDialog")
        HgQueuesQueueManagementDialog.resize(400, 300)
        HgQueuesQueueManagementDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(HgQueuesQueueManagementDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.inputFrame = QtWidgets.QFrame(parent=HgQueuesQueueManagementDialog)
        self.inputFrame.setObjectName("inputFrame")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.inputFrame)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(parent=self.inputFrame)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.nameEdit = QtWidgets.QLineEdit(parent=self.inputFrame)
        self.nameEdit.setObjectName("nameEdit")
        self.horizontalLayout.addWidget(self.nameEdit)
        self.verticalLayout.addWidget(self.inputFrame)
        self.selectLabel = QtWidgets.QLabel(parent=HgQueuesQueueManagementDialog)
        self.selectLabel.setObjectName("selectLabel")
        self.verticalLayout.addWidget(self.selectLabel)
        self.queuesList = QtWidgets.QListWidget(parent=HgQueuesQueueManagementDialog)
        self.queuesList.setAlternatingRowColors(True)
        self.queuesList.setObjectName("queuesList")
        self.verticalLayout.addWidget(self.queuesList)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=HgQueuesQueueManagementDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Close|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(HgQueuesQueueManagementDialog)
        self.buttonBox.accepted.connect(HgQueuesQueueManagementDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(HgQueuesQueueManagementDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(HgQueuesQueueManagementDialog)
        HgQueuesQueueManagementDialog.setTabOrder(self.nameEdit, self.queuesList)
        HgQueuesQueueManagementDialog.setTabOrder(self.queuesList, self.buttonBox)

    def retranslateUi(self, HgQueuesQueueManagementDialog):
        _translate = QtCore.QCoreApplication.translate
        self.label.setText(_translate("HgQueuesQueueManagementDialog", "Queue Name:"))
        self.nameEdit.setToolTip(_translate("HgQueuesQueueManagementDialog", "Enter the queue name"))
        self.selectLabel.setText(_translate("HgQueuesQueueManagementDialog", "Select queue name:"))
        self.queuesList.setToolTip(_translate("HgQueuesQueueManagementDialog", "This shows a list of available queues (active queue in bold)"))
